package scenic.toolkit.db;

public class ArrayType extends Type {
	private Type elementType;
	private int length;
	
	public String getName() {
		return elementType.getName() + "[]";
	}
	
	public ArrayType(Type elementType, int size) {
		this.elementType = elementType;
		this.length = size;
	}
	
	public Type getElementType() {
		return elementType;
	}
	
	public int getLength() {
		return length;
	}
}
